package com.example.creditscore;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Credit_score_form_sec_c extends Activity {
	
	/**
	 * @uml.property  name="btnNextPage"
	 * @uml.associationEnd  
	 */
	private Button btnNextPage;
	/**
	 * @uml.property  name="btnBackPage"
	 * @uml.associationEnd  
	 */
	private Button btnBackPage;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.credit_score_form_sec_c);
		btnNextPage = (Button) findViewById(R.id.nextPageBtn);
		btnBackPage = (Button) findViewById(R.id.backPageBtn);
		btnNextPage.setOnClickListener(nextPage());
		btnBackPage.setOnClickListener(backPage());
	}
	
	private OnClickListener nextPage() {
		final Context context = this;
		return new OnClickListener() {
			public void onClick(View v) {
				
				
				 Intent intent = new Intent(context, Credit_score_form_sec_d.class);
                 startActivity(intent); 
                 
			}
		};
	}
	
	private OnClickListener backPage() {
		final Context context = this;
		return new OnClickListener() {
			public void onClick(View v) {
				
				
				 Intent intent = new Intent(context, Credit_score_form_sec_b.class);
                 startActivity(intent); 
                 
			}
		};
	}


}
